<#-- @ftlvariable name="layout" type="com.fable.sp.core.domain.Layout" -->
<@ui.panel title="布局项设置">
<form action="<@spring.url relativeUrl='/sp/saveLayoutItemStyle'/>" class="form-horizontal">
    <input type="hidden" name="id" value="${layout.id}">
    <div class="form-group form-group-sm">
        <div class="col-sm-3 control-label">高度</div>
        <div class="col-sm-4">
            <input type="text" name="cellHeight" value="${layout.cellHeight}" placeholder="数值"
                   class="form-control validate[required,custom[integer]]">
        </div>
        <div class="col-sm-4 form-control-static">像素</div>
    </div>
    <@ui.borderEditor border=layout.cellBorder title="布局项边框" prefix="cellBorder"/>
</form>
</@ui.panel>
<#assign formAction><@spring.url relativeUrl='/sp/saveLayoutStyle'/></#assign>
<@ui.styleEditor styleEntity=layout formAction=formAction title="布局容器样式"/>